package com.bigevent.bigevent.service;

import com.bigevent.bigevent.entity.User;

/**
 * @author yangxudong
 * @description:
 * @date 2024/2/3 12:52
 */
public interface UserService {
    void register(String username, String password);

    String login(String username, String password);

    User getUser(String username);

    void updateUserInfo(User user);

    void updateAvatar(String username, String avatarUrl);

    void updatePwd(String username, String oldPwd, String newPwd, String rePwd, String token);
}
